package com.shop.controller;

import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RequestMapping;

/**
 * HomeController
 * Created by heqianqian on 2017/7/18.
 */
@Controller
@RequestMapping("/home")
public class HomeController {

    /**
     * 主页
     */
    @RequestMapping("/")
    public String index() {
        return "home/home_main";
    }

    /**
     * 主页标题栏
     */
    @RequestMapping("/title")
    public String title() {
        return "home/home_title";
    }

    /**
     * 主页左侧菜单栏
     */
    @RequestMapping("/left")
    public String left() {
        return "home/home_left";
    }

    /**
     * 主页内容页面
     */
    @RequestMapping("/content")
    public String content() {
        return "home/home_content";
    }
}


